package com.nhim.cms.admin.client.rpc;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.nhim.cms.domain.Content;
import com.nhim.cms.domain.ContentType;
import com.nhim.cms.domain.ContentVersion;
import com.nhim.cms.domain.Template;

@RemoteServiceRelativePath("contentElementRPCService")
public interface ContentElementRPCService extends RemoteService {
	public ContentVersion createNew(Content parent,String name,ContentType contentType,Template template) throws IllegalArgumentException;
}
